@charset "UTF-8";
/*
Theme Name: AM-1
Theme URI: https://github.com/AlitaMcF/AM-1
Description: This is my theme project.
Version: 1.0
Origin Author: AlitaMcF
Author: AlitaMcF
*/

/*load google Noto Sans SC font*/
/* @import url(http://fonts.googleapis.com/css?family=Noto+Serif+SC);
@import url(http://fonts.googleapis.com/css?family=Noto+Sans+SC); */

@font-face {
    font-family: Google Noto;
    src: url(font/Noto_Sans_SC/NotoSansSC-Regular.otf),
        url(font/Noto_Sans_SC/NotoSansSC-Light.otf),
        url(font/Noto_Sans_SC/NotoSansSC-Bold.otf),
        url(font/Noto_Sans_SC/NotoSansSC-Medium.otf),
        url(font/Noto_Sans_SC/NotoSansSC-Thin.otf),
        url(font/Noto_Sans_SC/NotoSansSC-Black.otf);
}

html {
    height: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
p {
    margin: 0;
    padding: 0;
}

body {
    color: #000000;
    background: #ffffff;
    text-align: center;
    vertical-align: top;
    margin: 0;
    padding: 0;
    font-family: "Google Noto", Arial, Helvetica, Georgia, sans-serif;
    font-size: 16px;
    height: 100%;
}

a {
    text-decoration: none;
    color: rgb(61, 138, 125);
}

#whole-page {
    min-height: 100%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 300px;
}

#header {
    width: 100%;
    height: 70px;
    background-color: rgb(36, 40, 45);
    margin: 0;
    position: fixed;
    top: 0;
    /* border-bottom: solid 1px #ddd; */
    box-sizing: border-box;
    z-index: 999;
    color: #eee;
}

#header h1 a {
    text-decoration: none;
    color: rgb(25, 189, 161);
}

#header-blog-title {
    float: left;
    height: 100%;
    line-height: 70px;
    margin: 0 0 0 25px;
}

#header-navigator {
    float: right;
    height: 100%;
    margin: 0 20px 0 0;
}

#header-navigator p {
    font-size: 19px;
    padding: 0 0 0 20px;
}

#header-navigator-search {
    float: left;
    position: relative;
    margin: auto 30px auto 0;
}

#header-navigator-search #searchform {
    margin: 15px 0;
    height: 40px;
    background-color: rgb(36, 40, 45);
    border-radius: 5px;
    border: solid 2px rgb(25, 189, 161);
    box-sizing: border-box;
    display: block;
    padding: 0 5px 0 0px;
}

#header-navigator-search #searchinput {
    /* padding: 0 30px 0 0; */
    padding: 0 0;
    margin: 0;
    height: 36px;
    width: 150px;
    border: none;
    background-color: transparent;
    box-sizing: border-box;
    float: left;
    color: #eee;
    font-size: 18px;
    padding: 0 0 0 8px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
:focus {
    outline: none;
}

#header-navigator-search #searchsubmit {
    border: none;
    padding: 0 0;
    margin: 0;
    height: 36px;
    width: 36px;
    background: url(img/search.png) center no-repeat;
    background-size: 80%;
    direction: ltr;
    text-indent: -9999em;
    box-sizing: border-box;
    float: left;
    cursor: pointer;
}

#header-navigator > ul {
    list-style-type: none;
    height: 100%;
    padding: 0;
    margin: 0;
    line-height: 70px;
    position: relative;
    float: left;
}

#header-navigator > ul > li {
    float: left;
    margin: 0 10px 0 0;
    box-sizing: border-box;
    text-align: center;
}

#header-navigator > ul > li:hover {
    cursor: default;
}

#header-navigator > ul > li > p > a {
    font-size: 19px;
    color: #eee;
}

#header-navigator > ul > li > p > a:hover {
    cursor: pointer;
    color: rgb(25, 189, 161);
}

#header-navigator > ul > li > ul {
    display: none;
    list-style-type: none;
    background-color: rgb(36, 40, 45);
    font-size: 18px;
    text-align: left;
    padding: 0;
    box-sizing: border-box;
    min-width: 120px;
    position: absolute;
}

#header-navigator > ul > li > ul > li {
    padding: 10px 20px;
    border-bottom: solid 1px #eee;
    line-height: 22px;
    max-width: 220px;
}
#header-navigator > ul > li > ul > li > a {
    font-size: 18px;
    color: #eee;
}
#header-navigator > ul > li > ul > li > a:hover {
    color: rgb(25, 189, 161);
}

#header-navigator > ul > li > ul > li:last-child {
    border-bottom: none;
}

#container-wrapper {
    padding: 90px 20px 20px 20px;
    margin: 0 auto 0 auto;
    width: 1300px;
    text-align: left;
    overflow: hidden;
    box-sizing: border-box;
}

#footer {
    width: 100%;
    height: 300px;
    text-align: center;
    background-color: rgb(61, 138, 125);
    margin: 0;
    color: #eeeeee;
    padding: 10px 0 10px 0;
    box-sizing: border-box;
    position: absolute;
    bottom: 0px;
}

#container-archive {
    width: 70%;
    margin: 0 auto 0 auto;
}

#container-search {
    width: 70%;
    margin: 0 auto 0 auto;
}

#container-category {
    width: 70%;
    margin: 0 auto 0 auto;
}

#container-page {
    width: 70%;
    margin: 0 auto 0 auto;
}

#container-single {
    width: 70%;
    margin: 0 auto;
    /* float: left; */
}

#container-home {
    float: right;
    width: 70%;
    box-sizing: border-box;
}

#container-404 {
    width: 70%;
    margin: 0 auto;
    text-align: center;
}

#container-404 p {
    font-size: 25px;
    font-weight: bold;
}

#container-wrapper .entry {
    line-height: 30px;
}

#container-wrapper .entry h1 {
    margin: 4px 0 13px 0;
    font-size: 29px;
    font-weight: bold;
}

#container-wrapper .entry h2 {
    margin: 4px 0 13px 0;
    font-size: 26px;
    font-weight: bold;
}

#container-wrapper .entry h3 {
    margin: 4px 0 13px 0;
    font-size: 25px;
    font-weight: bold;
}

#container-wrapper .entry h4 {
    margin: 4px 0 13px 0;
    font-size: 22px;
    font-weight: bold;
}

#container-wrapper .entry h5 {
    margin: 4px 0 13px 0;
    font-size: 19px;
    font-weight: bold;
}

#container-wrapper .entry h6 {
    margin: 4px 0 13px 0;
    font-size: 16px;
    font-weight: bold;
}

#container-wrapper .entry pre {
    border-radius: 5px;
    padding: 10px 18px 10px 18px;
    box-sizing: border-box;
    overflow: auto;
    /* box-shadow: 0 0 10px #ccc; */
    /* background-color: #eee; */
    margin: 0 0 25px 0;
    border: solid rgb(36, 40, 45) 1px;
}

#container-wrapper .entry pre::-webkit-scrollbar {
    display: none; /*hide the scrollbar*/
}

#container-wrapper .entry p > code {
    /* box-shadow: 0 0 8px #ccc; */
    background-color: #ddd;
    box-sizing: border-box;
    border-radius: 3px;
    padding: 4px 6px 4px 6px;
    margin: 0 3px 0 3px;
}

#container-wrapper .entry pre code {
    padding: 0;
    background-color: #fff;
}

#container-wrapper .entry pre code::-webkit-scrollbar {
    display: none;
}

#container-wrapper .entry blockquote {
    padding: 5px 10px 5px 20px;
    margin: 0 0 20px 0px;
    overflow: auto;
    box-sizing: border-box;
    /* border: solid 1px rgb(36, 40, 45); */
    border-radius: 5px;
    border-left: solid 6px #666;
    box-shadow: 0 0 10px #ccc;
}

#container-wrapper .entry blockquote p {
    margin: 0 0 8px 0;
}

#container-wrapper .entry figure {
    text-align: center;
}

#container-home .post {
    padding: 0px 0 10px 0;
    background-color: #ffffff;
    margin: 0 0 40px 0;
    border-radius: 5px;
    box-shadow: 0 0 12px #ccc;
    /* border: solid 1px #ddd; */
    position: relative;
    /* border-bottom: solid 2px rgb(36, 40, 45); */
}

#container-home .post .metainfo h2 a {
    /* font-family: Georgia, sans-serif; */
    font-size: 29px;
    color: rgb(68, 75, 75);
}

#container-home .metainfo {
    box-sizing: border-box;
    padding: 16px 0 10px 30px;
    border-left: solid 6px rgb(61, 138, 125);
    margin: 0 0 10px 0;
    border-top-left-radius: 4px;
}

#container-home .entry {
    font-size: 19px;
    /* line-height: 27px; */
    margin: 0 35px 0 35px;
    /* font-family: Arial, Helvetica; */
}

#container-home .entry p {
    margin: 0 0 26px 0;
    text-align: justify;
}

#container-home p.postmetadata {
    padding: 7px 0 0 0;
    color: #666666;
}

#container-home p.postmetadata a {
    text-decoration: none;
    color: rgb(61, 138, 125);
}

#container-page .post {
    box-sizing: border-box;
    padding: 15px 0 0 0;
}

#container-page .post .metainfo {
    text-align: center;
}

#container-page .post .metainfo h2 a {
    font-size: 34px;
    color: rgb(61, 138, 125);
}

#container-page .post .metainfo .postmetadata {
    padding: 10px 20px 20px 20px;
}

#container-page .entry {
    box-sizing: border-box;
    font-size: 19px;
    /* line-height: 27px; */
}

#container-page .entry p {
    margin: 0 0 22px 0;
    text-align: justify;
}

#container-page .entry img {
    max-width: 100%;
}

#container-single .post {
    box-sizing: border-box;
    padding: 15px 0 0 0;
}

#container-single .post .metainfo {
    text-align: center;
}

#container-single .post .metainfo h2 a {
    font-size: 34px;
    color: rgb(61, 138, 125);
}

#container-single .post .metainfo .postmetadata {
    padding: 10px 20px 20px 20px;
}

#container-single .entry {
    box-sizing: border-box;
    font-size: 19px;
    /* line-height: 27px; */
}

#container-single .entry p {
    margin: 0 0 22px 0;
    text-align: justify;
}

#container-single .entry figure {
    margin: 0;
}

#container-single .entry img {
    max-width: 100%;
}

#end-flag {
    text-align: center;
    line-height: 160px;
}

.end-flag-hr {
    width: 40%;
    display: inline-block;
}

#container-category .post {
    padding: 0px 0 10px 0;
    background-color: #ffffff;
    margin: 0 0 40px 0;
    border-radius: 5px;
    box-shadow: 0 0 12px #ccc;
    /* border: solid 1px #ddd; */
    position: relative;
    /* border-bottom: solid 2px rgb(36, 40, 45); */
}

#container-category .post .metainfo h2 a {
    /* font-family: Georgia, sans-serif; */
    font-size: 29px;
    color: rgb(68, 75, 75);
}

#container-category .metainfo {
    box-sizing: border-box;
    padding: 16px 0 10px 30px;
    border-left: solid 6px rgb(61, 138, 125);
    margin: 0 0 10px 0;
    border-top-left-radius: 4px;
}

#container-category .entry {
    font-size: 19px;
    /* line-height: 27px; */
    margin: 0 35px 0 35px;
    /* font-family: Arial, Helvetica; */
}

#container-category .entry p {
    margin: 0 0 26px 0;
    text-align: justify;
}

#container-category p.postmetadata {
    padding: 7px 0 0 0;
    color: #666666;
}

#container-category p.postmetadata a {
    text-decoration: none;
    color: rgb(61, 138, 125);
}

#container-archive .post {
    padding: 0px 0 10px 0;
    background-color: #ffffff;
    margin: 0 0 40px 0;
    border-radius: 5px;
    box-shadow: 0 0 12px #ccc;
    /* border: solid 1px #ddd; */
    position: relative;
    /* border-bottom: solid 2px rgb(36, 40, 45); */
}

#container-archive .post .metainfo h2 a {
    /* font-family: Georgia, sans-serif; */
    font-size: 29px;
    color: rgb(68, 75, 75);
}

#container-archive .metainfo {
    box-sizing: border-box;
    padding: 16px 0 10px 30px;
    border-left: solid 6px rgb(61, 138, 125);
    margin: 0 0 10px 0;
    border-top-left-radius: 4px;
}

#container-archive .entry {
    font-size: 19px;
    /* line-height: 27px; */
    margin: 0 35px 0 35px;
    /* font-family: Arial, Helvetica; */
}

#container-archive .entry p {
    margin: 0 0 26px 0;
    text-align: justify;
}

#container-archive p.postmetadata {
    padding: 7px 0 0 0;
    color: #666666;
}

#container-archive p.postmetadata a {
    text-decoration: none;
    color: rgb(61, 138, 125);
}

#container-search .post {
    padding: 0px 0 10px 0;
    background-color: #ffffff;
    margin: 0 0 40px 0;
    border-radius: 5px;
    box-shadow: 0 0 12px #ccc;
    /* border: solid 1px #ddd; */
    position: relative;
    /* border-bottom: solid 2px rgb(36, 40, 45); */
}

#container-search .post .metainfo h2 a {
    /* font-family: Georgia, sans-serif; */
    font-size: 29px;
    color: rgb(68, 75, 75);
}

#container-search .metainfo {
    box-sizing: border-box;
    padding: 16px 0 10px 30px;
    border-left: solid 6px rgb(61, 138, 125);
    margin: 0 0 10px 0;
    border-top-left-radius: 4px;
}

#container-search .entry {
    font-size: 19px;
    /* line-height: 27px; */
    margin: 0 35px 0 35px;
    /* font-family: Arial, Helvetica; */
}

#container-search .entry p {
    margin: 0 0 26px 0;
    text-align: justify;
}

#container-search p.postmetadata {
    padding: 7px 0 0 0;
    color: #666666;
}

#container-search p.postmetadata a {
    text-decoration: none;
    color: rgb(61, 138, 125);
}

#body-home .sidebar {
    float: left;
    width: 27%;
    margin: 0 0 20px 0;
    border-radius: 5px;
    border: solid 1px #ddd;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}

#sidebar-profile-bg {
    position: absolute;
    top: 0;
    height: 180px;
    width: 100%;
    background-color: rgb(61, 138, 125);
    box-sizing: border-box;
    z-index: 1;
}

#sidebar-myinfo-img-div {
    position: relative;
    text-align: center;
    margin: 110px 0 0 0;
    z-index: 2;
}

#sidebar-myinfo-img {
    border-radius: 50%;
    height: 140px;
    width: 140px;
    border: solid 8px #fff;
    box-sizing: border-box;
}

#sidebar-myinfo-blogtitle {
    text-align: center;
    margin: 0 0 0 0;
    padding: 15px 0 0 0;
}

#sidebar-myinfo-blogtitle a {
    font-size: 32px;
    color: rgb(68, 75, 75);
    font-weight: bold;
}

#sidebar-myinfo-subtitle {
    font-size: 16px;
    text-align: center;
    margin: 0 0 0 0;
    padding: 8px 0 0 0;
}

#sidebar-myinfo-contact {
    text-align: center;
    margin: 0 0 0 0;
    padding: 60px 0 20px 0;
    box-sizing: border-box;
}

#sidebar-myinfo-contact a {
    font-size: 20px;
    /* text-decoration: underline; */
}

#sidebar-myinfo-contact-line1 {
    width: 200px;
    margin: 0 auto 10px auto;
    text-align: center;
    padding: 2px 0 2px 0;
    box-sizing: border-box;
}

.sidebar-myinfo-contact-item {
    display: inline-block;
    width: 70px;
    height: 30px;
    text-align: center;
    margin: 0 auto;
    border: 2px solid rgb(61, 138, 125);
    border-radius: 5px;
    line-height: 30px;
}

.sidebar-myinfo-contact-item:hover {
    background-color: rgb(61, 138, 125);
    color: #fff;
}

#sidebar-myinfo-contact-divider {
    display: inline-block;
    width: 20px;
}

#sidebar-myinfo-bottom {
    height: 25px;
    background-color: rgb(36, 40, 45);
    margin: 10px 0 0 0;
}

#sidebar-big-things {
    background-color: rgb(36, 40, 45);
    text-align: center;
    color: #fff;
    font-size: 22px;
    box-sizing: border-box;
    padding: 0 0 20px 0;
}

#sidebar-big-things a {
    color: #eee;
    font-size: 18px;
    text-decoration: none;
}

#sidebar-big-things a:hover {
    color: rgb(61, 138, 125);
    text-decoration: underline;
}

.sidebar-big-things-hr {
    color: #fff;
    width: 80%;
    size: 1px;
}

.sidebar-big-things-item {
    padding: 3px 40px 3px 40px;
    text-align: left;
}

#navigator {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 0 0;
    text-align: center;
}

.sidebar ul {
    margin: 0;
    list-style-type: none;
    padding: 0 10px 0 10px;
}

.sidebar ul li {
    padding: 3px 0 3px 0;
}

.sidebar ul li h2 {
    font-size: 20px;
    /* font-family: Georgia, sans-serif; */
}

.sidebar ul ul li {
    padding: 0;
    line-height: 24px;
}

table#wp-calendar {
    width: 100%;
}

#container-home figure {
    max-width: 100%;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    margin: 0 0 12px 0;
}

img {
    max-width: 100%;
}

#footer-maincontent {
    height: 79%;
    width: 100%;
    overflow: hidden;
    color: #fff;
}

#footer-maincontent a {
    text-decoration: none;
    /* color: #ccc; */
    color: rgb(156, 245, 230);
}

#footer-slogan {
    height: 20%;
    color: rgb(136, 199, 188);
    font-size: 22px;
    font-weight: bold;
    line-height: 50px;
    padding: 10px 0 0 0;
}

#footer-social {
    float: left;
    width: 75%;
    height: 100%;
}

#footer-social-hr {
    color: rgb(136, 199, 188);
    size: 1px;
    width: 100%;
}

.footer-social-item {
    float: right;
    width: 300px;
    margin: 20px 50px 0 50px;
    text-align: left;
}

.footer-social-item-head {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.footer-social-item p a {
    font-size: 14px;
    padding: 2px auto;
}

#footer-social-img-div {
    float: left;
    height: 100%;
    box-sizing: border-box;
    padding: 30px 40px 30px 40px;
}

#footer-social-img-div img {
    max-height: 100%;
}

#footer-copyright {
    float: right;
    width: 20%;
    height: 100%;
    text-align: center;
    padding: 20px 0 0 0;
    border-left: solid 1px rgb(136, 199, 188);
    font-size: 15px;
    line-height: 26px;
}

#goTop {
    position: fixed;
    right: 3%;
    bottom: -2px;
    box-sizing: border-box;
    padding: 4px 14px 4px 14px;
    border: solid 1px rgb(36, 40, 45);
    border-bottom: 0px;
    background-color: rgb(36, 40, 45);
    color: rgb(25, 189, 161);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    display: none; /*make button unvisible at the beginning*/
}

#goTop:hover {
    border: 1px solid rgb(36, 40, 45);
    border-bottom: 0px;
    background-color: rgb(61, 138, 125);
    color: rgb(36, 40, 45);
    cursor: pointer;
}

.comments-template {
    margin: 10px 0 0;
    border-top: 1px solid #ccc;
    padding: 10px 0 0;
}

.comments-template ol {
    margin: 0;
    padding: 0 0 15px;
    list-style: none;
}

.comments-template ol li {
    margin: 10px 0 0;
    line-height: 18px;
    padding: 0 0 10px;
    border-bottom: 1px solid #ccc;
}

.comments-template h2,
.comments-template h3 {
    /* font-family: Georgia, Sans-serif; */
    font-size: 16px;
}

.commentmetadata {
    font-size: 12px;
}

.comments-template p.nocomments {
    padding: 0;
}

.comments-template textarea {
    /* font-family: Arial, Helvetica, Georgia, Sans-serif; */
    font-size: 12px;
}

/* contents table */
#article-index {
    float: right;
    width: 250px;
    line-height: 27px;
    margin: 0px 0px 20px 20px;
    border-radius: 5px;
    border: 2px solid rgb(36, 40, 45);
    padding: 0 0 10px 0;
}

#article-index #article-index-title {
    margin: 5px 0 0 0;
}

#article-index #article-index-title strong {
    display: block;
    line-height: 30px;
    padding: 0 4px;
    text-align: center;
}

#article-index-hr {
    size: 1px;
    color: rgb(36, 40, 45);
    margin: 4px 20px;
}

#article-index-table {
    padding: 0 22px 0 20px;
}

#article-index ul {
    padding-left: 20px;
}

#article-index li {
    list-style-type: disc;
}

#index-ul {
    margin: 0;
}
#index-ul li {
    background: none repeat scroll 0 0 transparent;
    padding: 0;
}
#index-ul a {
    color: rgb(36, 40, 45);
}
#index-ul a:hover {
    color: rgb(61, 138, 125);
}

/*set the subtitle jump offset, to avoid covered by headerbar*/
.subtitle:target {
    padding-top: 78px;
}



/*page navigator 格式*/
nav.pagination {
    position: relative;
    display: block;

}

.nav-links {

}

.nav-links ul {
    padding: 0;
    overflow: hidden;
    width: max-content;
    margin: 0 auto;
}

.nav-links ul li {
    list-style: none;
    margin: 0 10px 0 0;
    padding: 0;
    float: left;
}

.nav-links ul li span.current {
    padding: 10px 12px;
    background: rgb(36, 40, 45);
    border: 1px solid #777;
    display: block;
    line-height: 1;
    border-radius: 4px;
    color: #fff;
}

.nav-links ul li a {
    padding: 10px 12px;
    background: rgb(61, 138, 125);
    color: #fff;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: block;
    line-height: 1;
}

.nav-links ul li a:hover {
    background: #555;
    border-color: #888;
    color: #fff;
}
